<template>
	<view class="empty-box">
		<view class="empty">
			<image src="//cdn.chilli.red/hippoShop/uniShop/static/images/empty-image-default.png" mode="widthFix"></image>
			<view>{{description}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"empty",
		props:{
			description:{
				type:String,
				default:()=>{
					return "您还没有相关订单"
				}
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.empty-box{
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 30%;
	}
	.empty{
		text-align: center;
		color: #999;
		image{
			width: 270rpx;
			margin: 0 auto;
		}
	}
</style>
